#!/usr/bin/python
# -*- coding: UTF-8 -*-
import time

localtime = time.localtime(time.time())
if __name__ == '__main__':
    print localtime
    print time.localtime()
    a = "Sat Mar 28 22:24:24 2016"
    print time.strptime(a, "%a %b %d %H:%M:%S %Y")
    print time.mktime(time.strptime(a, "%a %b %d %H:%M:%S %Y"))